package com.suse.lhw.hms.authorizaiontserver.service.Impl;

import com.suse.lhw.hms.authorizaiontserver.dao.URoleUserMapper;
import com.suse.lhw.hms.authorizaiontserver.domin.URoleUser;
import com.suse.lhw.hms.authorizaiontserver.service.URoleUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;



/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.security.service.Impl
 * @ClassName: URoleUserServiceImpl
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2021/2/1 10:34
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/2/1 10:34
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Service
public class URoleUserServiceImpl implements URoleUserService {

    @Resource
    private URoleUserMapper uRoleUserMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return uRoleUserMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(URoleUser record) {
        return uRoleUserMapper.insert(record);
    }

    @Override
    public int insertSelective(URoleUser record) {
        return uRoleUserMapper.insertSelective(record);
    }

    @Override
    public URoleUser selectByPrimaryKey(Integer id) {
        return uRoleUserMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(URoleUser record) {
        return uRoleUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(URoleUser record) {
        return uRoleUserMapper.updateByPrimaryKey(record);
    }

}
